//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Parker McCollum','Premier Theater At Foxwoods','Mashantucket, CT','Friday','5/10/2024','8:00 PM','6274360','Parker-McCollum-5-10-2024'],['Keyshia Cole, Bobby V & Nivea','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','5/11/2024','8:00 PM','6274362','Keyshia-Cole--Bobby-V---Nivea-5-11-2024'],['Mudvayne','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','5/18/2024','7:00 PM','6296168','Mudvayne-5-18-2024'],['Penn & Teller','Premier Theater At Foxwoods','Mashantucket, CT','Sunday','5/19/2024','7:00 PM','6262345','Penn---Teller-5-19-2024'],['Keith Sweat','Premier Theater At Foxwoods','Mashantucket, CT','Friday','5/24/2024','8:00 PM','6274361','Keith-Sweat-5-24-2024'],['Miranda Lambert','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','6/8/2024','8:00 PM','6329513','Miranda-Lambert-6-8-2024'],['Nikki Glaser','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','6/22/2024','8:00 PM','5687228','Nikki-Glaser-6-22-2024'],['Donny Osmond','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','6/29/2024','8:00 PM','6315526','Donny-Osmond-6-29-2024'],['Hasan Minhaj','Premier Theater At Foxwoods','Mashantucket, CT','Friday','7/5/2024','7:00 PM','6372590','Hasan-Minhaj-7-5-2024'],['Jamey Johnson','Premier Theater At Foxwoods','Mashantucket, CT','Thursday','7/11/2024','7:30 PM','6383959','Jamey-Johnson-7-11-2024'],['Boys Like Girls','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','7/13/2024','7:00 PM','6340979','Boys-Like-Girls-7-13-2024'],['Pat Benatar & Neil Giraldo','Premier Theater At Foxwoods','Mashantucket, CT','Friday','7/19/2024','8:00 PM','6369603','Pat-Benatar---Neil-Giraldo-7-19-2024'],['Christopher Cross & Ambrosia','Premier Theater At Foxwoods','Mashantucket, CT','Sunday','7/21/2024','7:00 PM','6369604','Christopher-Cross---Ambrosia-7-21-2024'],['Jerry Seinfeld','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','7/27/2024','8:00 PM','6369597','Jerry-Seinfeld-7-27-2024'],['John Mulaney','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','8/17/2024','7:00 PM','6227701','John-Mulaney-8-17-2024'],['Gabriel Iglesias','Premier Theater At Foxwoods','Mashantucket, CT','Sunday','9/1/2024','5:00 PM','6215247','Gabriel-Iglesias-9-1-2024'],['Gabriel Iglesias','Premier Theater At Foxwoods','Mashantucket, CT','Sunday','9/1/2024','8:30 PM','6395669','Gabriel-Iglesias-9-1-2024'],['Chelsea Handler','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','9/7/2024','8:00 PM','6414171','Chelsea-Handler-9-7-2024'],['Wanda Sykes','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','9/14/2024','8:30 PM','6369596','Wanda-Sykes-9-14-2024'],['Nate Bargatze','Premier Theater At Foxwoods','Mashantucket, CT','Friday','9/20/2024','7:00 PM','6292050','Nate-Bargatze-9-20-2024'],['Nate Bargatze','Premier Theater At Foxwoods','Mashantucket, CT','Friday','9/20/2024','9:45 PM','6319271','Nate-Bargatze-9-20-2024'],['Nate Bargatze','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','9/21/2024','7:00 PM','6301248','Nate-Bargatze-9-21-2024'],['Kevin James','Premier Theater At Foxwoods','Mashantucket, CT','Saturday','10/19/2024','8:00 PM','6303924','Kevin-James-10-19-2024'],['Tropicaliente Max: El Gran Combo, Grupo Niche & Silvestre Dangond','Premier Theater At Foxwoods','Mashantucket, CT','Friday','11/29/2024','8:00 PM','6109977','Tropicaliente-Max--El-Gran-Combo--Grupo-Niche---Silvestre-Dangond-11-29-2024'],['Dance Across America','Premier Theater At Foxwoods','Mashantucket, CT','Friday','4/4/2070','TBD','4389501','Dance-Across-America-4-4-2070']],'MGM Grand at Foxwoods','http://www.ticketnetwork.com/ticket/MGM-Grand-at-Foxwoods-events.aspx');